package top.rish.converter.solon;

import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import top.rish.converter.core.annotation.handler.DesensitizedConverterHandlerDict;
import top.rish.converter.core.annotation.handler.EnumConverterHandlerDict;
import top.rish.converter.core.annotation.handler.KvConverterHandlerDict;

@Configuration
public class DictionaryConfiguration {
    @Bean
    public KvConverterHandlerDict kvConverterHandler() {
        return new KvConverterHandlerDict();
    }

    @Bean
    public DesensitizedConverterHandlerDict desensitizedConverterHandler() {
        return new DesensitizedConverterHandlerDict();
    }

    @Bean
    public EnumConverterHandlerDict enumConverterHandler() {
        return new EnumConverterHandlerDict();
    }
}